<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
  <head>
    <base href="<%=basePath%>" />
    <title>Heat User Detail Information</title>
    <script type="text/javascript">
		var path = "<%=basePath%>";
	</script>
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>beshs/css/content.css" />
	<link type="text/css" href="<%=basePath%>beshs/css/frame_style.css" rel="stylesheet" />
	<link type="text/css" href="<%=basePath%>beshs/css/element_style.css" rel="stylesheet" />
	<script type="text/javascript" src="<%=basePath%>resources/jquery/jquery-1.7.2.min.js"></script>
	<!-- 系统通用资源 -->
	<jsp:include page="/resources/resource-refer/common-resource-reference.jsp" />
	<!-- 用户访问菜单路径 -->
	<jsp:include page="/resources/usertrace/common-uservisit-reference.jsp" />
  </head>
  <body>
  	<div class="content_all">
  		<!--导航条-->
  		<div class="insertinfo_table">
		  	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		  		<tr>
		  			<th style="text-align: center;" colspan="6" >Heat User Information</th>
		  		</tr>
		  		<tr>
		        	<th>Project：</th>
		          	<td><s:property value='project.projectName' /></td>
		          	<th>District：</th>
		          	<td><s:property value='community.communityName' /></td>
		          	<th>Building：</th>
		        	<td><s:property value='building.buildingName' /></td>
		        </tr>
		  		<tr>
		        	<th>Unit：</th>
		        	<td><s:property value='buildingUnit.unitName' /></td>
		        	<th>Floor：</th>
		          	<td><s:property value='heatRoom.floorIndex' /></td>
		          	<th>Apartment Number：</th>
		          	<td><s:property value='heatRoom.houseNo' /></td>
		        </tr>
		        <tr>
		        	<th>Floor Location：</th>
		          	<td>
		          		<s:if test="heatRoom.floorPosition=='top'">top</s:if>
		          		<s:if test="heatRoom.floorPosition=='middle'">middle</s:if>
		          		<s:if test="heatRoom.floorPosition=='bottom'">bottom</s:if>
		          	</td>
		          	<th>Whether edge apartment or not：</th>
		          	<td>
		          		<s:if test="heatRoom.ifSideRoom==1">Yes</s:if>
		          		<s:if test="heatRoom.ifSideRoom==2">No</s:if>
		          	</td>
		          	<th>User Correction Factor：</th>
		          	<td>
		          		<s:text name="fmt.number.precision.four">
		          			<s:param value='heatRoom.reviseFactor' />
		          		</s:text>
		          	</td>
		        </tr>
		        <tr>
		        	<th>Owner Name：</th>
		          	<td><s:property value='heatRoom.roomOwner' /></td>
		          	<th>Contact Method：</th>
		          	<td><s:property value='heatRoom.ownerTel' /></td>
		          	<th>E-mail：</th>
		          	<td><s:property value='heatRoom.ownerEmail' /></td>
		        </tr>
		        <tr>
		        	<th>Building Area：</th>
		          	<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='heatRoom.structArea' />
		          		</s:text>
		          		m&sup2;
		          	</td>
		          	<th>Heating Area：</th>
		          	<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='heatRoom.heatArea' />
		          		</s:text>
		          		m&sup2;
		          	</td>
		          	<th>Whether Involved in Metering and Charging：</th>
		          	<td>
		          		<s:if test="heatRoom.ifMeasureCharge==1">No</s:if>
		          		<s:if test="heatRoom.ifMeasureCharge==2">Yes</s:if>
		          	</td>
		        </tr>
		        <tr>
		        	<th>Shared Area：</th>
		          	<td><s:property value='shareArea.areaName' /></td>
		          	<th>Allocator Quantity：</th>
		          	<td><s:property value='statisEntity.assignMeterSum' /></td>
		          	<th>Radiator Quantity：</th>
		          	<td><s:property value='statisEntity.heatSinkerSum' /></td>
		        </tr>
		        <tr>
		        	<th>Remark：</th>
			        <td colspan="5" style="white-space: normal;">
			        	<s:property value='heatRoom.remark' />
			        </td>
		        </tr>
		        <tr>
		        	<th></th>
          			<td style="border:none" colspan="5">
          				<script type="text/javascript">
          					$(function() {
          						$("input[name='goBack']").click(function() {
          							history.go(-1);
          						});
          					})
          				</script>
            			<input name="goBack" type="reset" value="Return" class="s_btn"/></td>
        		</tr>		
		    </table>
		</div>
	</div>
	<div class="clear"></div>
	<div class="content_all">
	  	<!--查询条件-->
	  	<div class="search">
	    	<form><table cellpadding="0" cellspacing="0">
	      		<tr></tr>
	    	</table></form>
	  	</div>
	  	<!--查询列表-->
	  	<div class="search_table_all">
	    	<table class="search_table" cellspacing="0" cellpadding="0">
	      		<thead>
	        		<tr>
		          		<th style="width:50px;">Serial No.</th>
		          		<th>Allocator No.</th>
			          	<th>Allocator Model</th>
			          	<th>Allocator Software Version No.</th>
			          	<th>Allocator Hardware Version No.</th>
	        		</tr>
	      		</thead>
	      		<tbody>
	      			<s:iterator value="assignMeterList" var="assignMeter" status="status">
	      				<tr>
		          			<td><s:property value="#status.index+1" /></td>
		          			<td><s:property value="#assignMeter.seriousNum" /></td>
		          			<td><s:property value="#assignMeter.model" /></td>
		          			<td><s:property value="#assignMeter.softVersion" /></td>
		          			<td><s:property value="#assignMeter.hardVersion" /></td>
		        		</tr>
	      			</s:iterator>
	      		</tbody>
	    	</table>
	  	</div>
	</div>
  </body>
</html>
